package io.seata.samples.zk.common.dubbo;

import io.seata.samples.zk.common.dto.CommodityDTO;
import io.seata.samples.zk.common.response.ObjectResponse;

/**
 * 库存服务
 *
 * @author Administrator
 */
public interface StorageDubboService {
    /**
     * 扣减库存
     *
     * @param commodityDTO
     * @return io.seata.samples.zk.common.response.ObjectResponse
     */
    ObjectResponse decreaseStorage(CommodityDTO commodityDTO);
}
